<template>
  <view class="todays-schedule">
    <view class="title">
      <view
        class="todays-schedule-title"
        @click="goMySchedule"
      >
        <text>今日行程</text>
        <text>有梦想就去追逐</text>
      </view>
      <view
        class="add-schedule-button"
        @click="addSchedule"
      >
        <text>+ 添加日程/会议</text>
      </view>
    </view>
      <view @click="goMySchedule2">今日会议（临时）</view>
    <view class="schedule-list">
      <view class="schedule-item">
        <view class="schedule-item-time">
          <text>早上</text>
          <text>09:00</text>
          <text></text
          ><!--虚线占位-->
        </view>
        <view class="schedule-item-content active1">
          <view class="schedule-item-content-box">
            <view class="schedule-content-title"> 参加项目研究晨会 </view>
            <view class="schedule-content-desc">
              <view class="content-desc-status">
                <text>已结束</text>
              </view>
              <view class="content-desc-address">
                <i
                  class="iconfont icon-didian-copy"
                  style="font-size: 12px"
                ></i>
                <text>341（第二会议室）</text>
              </view>
            </view>
          </view>
          <view class="detail-button">详情</view>
        </view>
      </view>
      <view class="schedule-item">
        <view class="schedule-item-time active">
          <text>早上</text>
          <text>09:00</text>
          <text></text
          ><!--虚线占位-->
        </view>
        <view class="schedule-item-content active2">
          <view class="schedule-item-content-box">
            <view class="schedule-content-title"> 参加项目研究晨会 </view>
            <view class="schedule-content-desc">
              <view class="content-desc-status">
                <text>已结束</text>
              </view>
              <view class="content-desc-address">
                <i
                  class="iconfont icon-didian-copy"
                  style="font-size: 12px"
                ></i>
                <text>341（第二会议室）</text>
              </view>
            </view>
          </view>
          <view class="detail-button">详情</view>
        </view>
      </view>
      <view class="schedule-item">
        <view class="schedule-item-time">
          <text>早上</text>
          <text>09:00</text>
          <text></text
          ><!--虚线占位-->
        </view>
        <view class="schedule-item-content active3">
          <view class="schedule-item-content-box">
            <view class="schedule-content-title"> 参加项目研究晨会 </view>
            <view class="schedule-content-desc">
              <view class="content-desc-status">
                <text>已结束</text>
              </view>
              <view class="content-desc-address">
                <i
                  class="iconfont icon-didian-copy"
                  style="font-size: 12px"
                ></i>

                <text>341（第二会议室）</text>
              </view>
            </view>
          </view>
          <view class="detail-button">详情</view>
        </view>
      </view>
    </view>
  </view>
</template>

<script setup lang="ts">
import { ref } from "vue";
import { navigateTo } from "@tarojs/taro";
const addSchedule = () => {
  navigateTo({
    url: "/packageA/pages/workbenches/addSchedule/index?isSMType=1",
  });
};
const goMySchedule = () => {
  navigateTo({
    url: "/packageA/pages/my/mySchedule/index",
  });
};
const goMySchedule2 = () => {
  navigateTo({
    url: "/packageA/pages/my/myMeeting/index",
  });
};
</script>

<style lang="less">
@import "./index.less";
</style>
